﻿
package com.tyust.lawyermanager.dongao.service;

import com.tyust.lawyermanager.dongao.entity.Lawyer;
import com.tyust.lawyermanager.dongao.mapper.LawyerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 律师业务接口实现类
 */
@Service
public class LawyerServiceImpl implements LawyerService {
    @Autowired
    LawyerMapper lawyerService;
    @Override
    public int addLawyer(Lawyer lawyer) {
        return lawyerService.insertLawyer(lawyer);
    }
}
